/**
 * 
 */
package cn.com.yinhex.util;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @author wzxie
 * 
 */
public class RowSet extends ArrayList<Row>
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	public RowSet()
	{
	}

	/**
	 * @param arg0
	 */
	public RowSet(int arg0)
	{
		super(arg0);
	}

	/**
	 * @param arg0
	 */
	@SuppressWarnings("unchecked")
	public RowSet(Collection arg0)
	{
		super(arg0);
	}

	public Row getRow(int which)
	{
		if (this.size() > 0)
			return (Row) this.get(which);
		return null;
	}

	public int length()
	{
		return this.size();
	}

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		

	}

}
